#ifndef FEED_H_
#define FEED_H_

#include <vector>
#include <string>
#include <iostream>

#include "Post.h"

using namespace std;

class Feed {
  protected:
    string title;
    string author;
    string description;
    string feedUrl;
    string pageUrl;
    vector<Post> posts;

  public:

     virtual ~ Feed();
    friend ostream & operator<<(ostream & out, Feed & feed);

    virtual vector < Post > getPosts();
    virtual string getTitle();
    virtual string getAuthor();
    virtual string getDescription();
    virtual string getFeedUrl();
    virtual string getPageUrl();

    virtual void setPosts(vector < Post > posts);
    virtual void setTitle(string title);
    virtual void setAuthor(string author);
    virtual void setDescription(string description);
    virtual void setFeedUrl(string feedUrl);
    virtual void setPageUrl(string pageUrl);
};

#endif				/* FEED_H_ */
